<?php
namespace Servidor\PostProcessor;

use JMS\Serializer\Serializer;

abstract class AbstractPostProcessor {
    
    
    /**
     * 
     * @var \JMS\Serializer\Serializer
     */
    protected $_serializer;
    
    /**
     * 
     * @var array()
     */
    protected $_vars = null;
    
    /**
     * 
     * @var HttpResponse
     */
    protected $_response = null;
    
    
    
    public function __construct( \Zend\Http\Response $response, $vars = null, Serializer $serializer ) {
        
        $this->_vars = $vars;
        $this->_response = $response;
        $this->_serializer = $serializer;
    }
    
    
    public function getResponse() {
        return $this->_response;
    }
    
    
    abstract public function process();
}
